<!--
 * @Author: doing
 * @Date: 2023-07-11 14:14:10
 * @LastEditors: git config user.name && git config user.email
 * @LastEditTime: 2023-07-19 08:52:11
 * @FilePath: \webmgr\src\App.vue
 * @Description: 
 * 全局组件中心,然后主要是路由展示以及支持中文
 * Copyright (c) 2023 by 1540265624@qq.com, All Rights Reserved. 
-->

<template>
  <a-config-provider :locale="locale">
    <router-view />
  </a-config-provider>
</template>
<script lang="ts">
import { defineComponent, onMounted, ref } from "vue";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");
export default defineComponent({
  name: "App",
  setup() {
    const locale = ref(zhCN);
    // k
    return {
      locale,
    };
  },
});
</script>


<style>
</style>
